home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / share / autoconf / autotest / autotest.m4f < prev    next >
Text File  |  2006-04-25  |  61KB  |  2,086 lines

  1. # This is a frozen state file generated by GNU M4 1.4.4
  2. V1
  3. Q1,1
  4. []
  5. T29,85
  6. m4_location(AS_BASENAME_EXPR)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:467
  7. T10,141
  8. AS_DIRNAME_m4_defun_pro([AS_DIRNAME])(dirname $1) 2>/dev/null ||
  9. AS_DIRNAME_EXPR([$1]) 2>/dev/null ||
  10. AS_DIRNAME_SED([$1])[]_m4_defun_epi([AS_DIRNAME])
  11. F9,6
  12. m4_formatformat
  13. F14,11
  14. m4_changequotechangequote
  15. T29,85
  16. m4_location(_AS_TEST_PREPARE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:748
  17. T10,117
  18. m4_re_wordabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789*
  19. T16,64
  20. _AS_QUOTE_IFELSEm4_bmatch([$1],
  21.       [\\[\\$]], [$2],
  22.       [\\[`""]], [$3],
  23.       [$2])
  24. T17,45
  25. _AS_ECHO_UNQUOTEDecho "$1" >&m4_default([$2], [AS_MESSAGE_FD])
  26. T16,570
  27. _AS_LN_S_PREPARE_m4_defun_pro([_AS_LN_S_PREPARE])rm -f conf$$ conf$$.exe conf$$.file
  28. echo >conf$$.file
  29. if ln -s conf$$.file conf$$ 2>/dev/null; then
  30.   # We could just check for DJGPP; but this test a) works b) is more generic
  31.   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  32.   if test -f conf$$.exe; then
  33.     # Don't use ln at all; we don't have any links
  34.     as_ln_s='cp -p'
  35.   else
  36.     as_ln_s='ln -s'
  37.   fi
  38. elif ln conf$$.file conf$$ 2>/dev/null; then
  39.   as_ln_s=ln
  40. else
  41.   as_ln_s='cp -p'
  42. fi
  43. rm -f conf$$ conf$$.exe conf$$.file
  44. []_m4_defun_epi([_AS_LN_S_PREPARE])
  45. T10,54
  46. m4_includem4_include_unique([$1])dnl
  47. m4_builtin([include], [$1])
  48. T21,1
  49. _m4_divert(M4SH-INIT)4
  50. T28,85
  51. m4_location(AS_BASENAME_SED)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:474
  52. T12,10
  53. m4_cr_digits0123456789
  54. T7,50
  55. m4_signm4_bmatch([$1],
  56.        [^-], -1,
  57.        [^0+], 0,
  58.           1)
  59. T11,17
  60. m4_location__file__:__line__
  61. T7,30
  62. AS_WARNAS_MESSAGE([WARNING: $1], [2])
  63. T10,98
  64. AS_VAR_GETAS_LITERAL_IF([$1],
  65.            [$$1],
  66.            [`eval echo '${'m4_bpatsubst($1, [[\\`]], [\\\&])'}'`])
  67. T21,85
  68. m4_location(AS_TR_SH)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:970
  69. T31,85
  70. m4_location(_AS_ECHO_N_PREPARE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:380
  71. T11,174
  72. m4_text_box@%:@@%:@ m4_bpatsubst([$1], [.], m4_if([$2], [], [[-]], [[$2]])) @%:@@%:@
  73. @%:@@%:@ $1 @%:@@%:@
  74. @%:@@%:@ m4_bpatsubst([$1], [.], m4_if([$2], [], [[-]], [[$2]])) @%:@@%:@[]dnl
  75.  
  76. T10,52
  77. m4_flattenm4_translit(m4_bpatsubst([[[$1]]], [\\
  78. ]), [
  79. ], [ ])
  80. F11,8
  81. m4_traceofftraceoff
  82. T10,98
  83. AS_PREPARE_m4_defun_pro([AS_PREPARE])m4_divert_text([M4SH-INIT], [_AS_PREPARE])[]_m4_defun_epi([AS_PREPARE])
  84. T27,23
  85. m4_location(_AT_ARG_OPTION)autotest/general.m4:981
  86. T20,3
  87. _m4_divert(HELP_END)304
  88. T6,328
  89. m4_form4_case(m4_sign(m4_eval($3 - $2)),
  90.      1, [m4_assert(m4_sign(m4_default($4, 1)) == 1)],
  91.     -1, [m4_assert(m4_sign(m4_default($4, -1)) == -1)])dnl
  92. m4_pushdef([$1], [$2])dnl
  93. m4_if(m4_eval([$3 > $2]), 1,
  94.       [_m4_for([$1], [$3], m4_default([$4], 1), [$5])],
  95.       [_m4_for([$1], [$3], m4_default([$4], -1), [$5])])dnl
  96. m4_popdef([$1])
  97. T12,55
  98. m4_copy_unm4m4_copy([$1], m4_bpatsubst([$1], [^m4_\(.*\)], [[\1]]))
  99. T13,116
  100. _AS_BOX_INDIRsed 'h;s/./m4_default([$2], [-])/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  101. @%:@@%:@ $1 @%:@@%:@
  102. _ASBOX
  103. F7,6
  104. m4_wrapm4wrap
  105. T10,119
  106. _AS_ECHO_NAS_REQUIRE([_AS_ECHO_N_PREPARE])dnl
  107. echo $ECHO_N "_AS_QUOTE([$1])$ECHO_C" >&m4_default([$2],
  108.                             [AS_MESSAGE_FD])
  109. T7,122
  110. m4_casem4_if([$#], 0, [],
  111.        [$#], 1, [],
  112.        [$#], 2, [$2],
  113.        [$1], [$2], [$3],
  114.        [$0([$1], m4_shiftn(3, $@))])
  115. T17,128
  116. _m4_dumpdefs_downm4_ifdef([_m4_dumpdefs],
  117.       [m4_pushdef([$1], m4_defn([_m4_dumpdefs]))dnl
  118. m4_popdef([_m4_dumpdefs])dnl
  119. _m4_dumpdefs_down([$1])])
  120. T13,15
  121. AS_VAR_POPDEFm4_popdef([$1])
  122. T28,3
  123. _m4_divert(PARSE_ARGS_BEGIN)200
  124. T18,272
  125. _AS_ECHO_N_PREPARE_m4_defun_pro([_AS_ECHO_N_PREPARE])case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  126.   *c*,-n*) ECHO_N= ECHO_C='
  127. ' ECHO_T='    ' ;;
  128.   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  129.   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  130. esac
  131. []_m4_defun_epi([_AS_ECHO_N_PREPARE])
  132. T16,149
  133. _AS_EXPR_PREPARE_m4_defun_pro([_AS_EXPR_PREPARE])if expr a : '\(a\)' >/dev/null 2>&1; then
  134.   as_expr=expr
  135. else
  136.   as_expr=false
  137. fi
  138. []_m4_defun_epi([_AS_EXPR_PREPARE])
  139. T31,0
  140. m4_include(autotest/general.m4)
  141. F9,6
  142. m4_substrsubstr
  143. T18,2167
  144. _AS_LINENO_PREPAREAS_REQUIRE([_AS_CR_PREPARE])dnl
  145. _AS_LINENO_WORKS || {
  146.   # Find who we are.  Look in the path if we contain no path at all
  147.   # relative or not.
  148.   case $[0] in
  149.     *[[\\/]]* ) as_myself=$[0] ;;
  150.     *) _AS_PATH_WALK([],
  151.            [test -r "$as_dir/$[0]" && as_myself=$as_dir/$[0] && break])
  152.        ;;
  153.   esac
  154.   # We did not find ourselves, most probably we were run as `sh COMMAND'
  155.   # in which case we are not to be found in the path.
  156.   if test "x$as_myself" = x; then
  157.     as_myself=$[0]
  158.   fi
  159.   if test ! -f "$as_myself"; then
  160.     AS_ERROR([cannot find myself; rerun with an absolute path])
  161.   fi
  162.   case $CONFIG_SHELL in
  163.   '')
  164.     _AS_PATH_WALK([/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH],
  165.       [for as_base in sh bash ksh sh5; do
  166.      case $as_dir in
  167.      /*)
  168.        if ("$as_dir/$as_base" -c '_AS_LINENO_WORKS') 2>/dev/null; then
  169.          AS_UNSET(BASH_ENV)
  170.          AS_UNSET(ENV)
  171.          CONFIG_SHELL=$as_dir/$as_base
  172.          export CONFIG_SHELL
  173.          exec "$CONFIG_SHELL" "$[0]" ${1+"$[@]"}
  174.        fi;;
  175.      esac
  176.        done]);;
  177.   esac
  178.  
  179.   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  180.   # uniformly replaced by the line number.  The first 'sed' inserts a
  181.   # line-number line before each line; the second 'sed' does the real
  182.   # work.  The second script uses 'N' to pair each line-number line
  183.   # with the numbered line, and appends trailing '-' during
  184.   # substitution so that $LINENO is not a special case at line end.
  185.   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  186.   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  187.   sed '=' <$as_myself |
  188.     sed '
  189.       N
  190.       s,$,-,
  191.       : loop
  192.       s,^\([['$as_cr_digits']]*\)\(.*\)[[$]]LINENO\([[^'$as_cr_alnum'_]]\),\1\2\1\3,
  193.       t loop
  194.       s,-$,,
  195.       s,^[['$as_cr_digits']]*\n,,
  196.     ' >$as_me.lineno &&
  197.   chmod +x $as_me.lineno ||
  198.     AS_ERROR([cannot create $as_me.lineno; rerun with a POSIX shell])
  199.  
  200.   # Don't try to exec as it changes $[0], causing all sort of problems
  201.   # (the dirname of $[0] is not the place where we might find the
  202.   # original and so on.  Autoconf is especially sensible to this).
  203.   . ./$as_me.lineno
  204.   # Exit status is that of the last command.
  205.   exit
  206. }
  207.  
  208. T6,2
  209. m4_fst$1
  210. T11,116
  211. _m4_foreachm4_if([$2], [[]], [],
  212.        [m4_define([$1], m4_car($2))$3[]_m4_foreach([$1],
  213.                            m4_cdr($2),
  214.                            [$3])])
  215. T10,0
  216. m4_symbols
  217. T30,0
  218. m4_include(m4sugar/version.m4)
  219. T27,85
  220. m4_location(AS_DIRNAME_SED)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:449
  221. T20,20
  222. m4_PACKAGE_BUGREPORTbug-autoconf@gnu.org
  223. T9,147
  224. m4_bmatchm4_if([$#], 0, [],
  225.        [$#], 1, [],
  226.        [$#], 2, [$2],
  227.        [m4_if(m4_bregexp([$1], [$2]), -1, [$0([$1], m4_shiftn(3, $@))],
  228.           [$3])])
  229. T8,228
  230. m4_splitm4_changequote(``, '')dnl
  231. [dnl Can't use m4_default here instead of m4_if, because m4_default uses
  232. dnl [ and ] as quotes.
  233. m4_bpatsubst(````$1'''',
  234.          m4_if(``$2'',, ``[     ]+'', ``$2''),
  235.          ``], ['')]dnl
  236. m4_changequote([, ])
  237. T14,125
  238. m4_append_uniqm4_ifdef([$1],
  239.       [m4_bmatch([$3]m4_defn([$1])[$3], m4_re_escape([$3$2$3]), [],
  240.              [m4_append($@)])],
  241.       [m4_append($@)])
  242. T18,8
  243. m4_PACKAGE_TARNAMEautoconf
  244. T11,201
  245. m4_list_cmpm4_if([$1$2], [()()], 0,
  246.        [$1], [()], [$0((0), [$2])],
  247.        [$2], [()], [$0([$1], (0))],
  248.        [m4_case(m4_cmp(m4_car$1, m4_car$2),
  249.         -1, -1,
  250.          1, 1,
  251.          0, [$0((m4_shift$1), (m4_shift$2))])])
  252. T22,31
  253. m4_expansion_stack_popm4_popdef([m4_expansion_stack])
  254. T10,68
  255. _m4_divertm4_ifdef([_m4_divert($1)],
  256.       [m4_indir([_m4_divert($1)])],
  257.       [$1])
  258. T23,85
  259. m4_location(AS_PREPARE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:230
  260. T10,627
  261. m4_requirem4_expansion_stack_push(m4_location[: $1 is required by...])dnl
  262. m4_ifdef([_m4_expanding($1)],
  263.      [m4_fatal([$0: circular dependency of $1])])dnl
  264. m4_ifndef([_m4_divert_dump],
  265.       [m4_fatal([$0: cannot be used outside of an m4_defun'd macro])])dnl
  266. m4_provide_if([$1],
  267.           [],
  268.           [m4_divert_push(m4_eval(m4_divnum - 1))dnl
  269. m4_default([$2], [$1])
  270. m4_divert(m4_defn([_m4_divert_dump]))dnl
  271. m4_undivert(m4_defn([_m4_divert_diversion]))dnl
  272. m4_divert_pop(m4_defn([_m4_divert_dump]))])dnl
  273. m4_provide_if([$1],
  274.           [],
  275.           [m4_warn([syntax],
  276.                [$1 is m4_require'd but is not m4_defun'd])])dnl
  277. m4_expansion_stack_pop()dnl
  278.  
  279. T19,309
  280. m4_version_unletterm4_translit(m4_bpatsubsts([$1],
  281.                [\([0-9]+\)\([abcdefghi]\)],
  282.                  [m4_eval(\1 + 1).-1.\2],
  283.                [\([0-9]+\)\([jklmnopqrs]\)],
  284.                  [m4_eval(\1 + 1).-1.1\2],
  285.                [\([0-9]+\)\([tuvwxyz]\)],
  286.                  [m4_eval(\1 + 1).-1.2\2]),
  287.          [abcdefghijklmnopqrstuvwxyz],
  288.          [12345678901234567890123456])
  289. T14,122
  290. AS_VAR_PUSHDEFAS_LITERAL_IF([$2],
  291.            [m4_pushdef([$1], [AS_TR_SH($2)])],
  292.            [as_$1=AS_TR_SH($2)
  293. m4_pushdef([$1], [$as_[$1]])])
  294. T7,127
  295. m4_warn_m4_warn([$1], [$2],
  296. m4_ifdef([m4_expansion_stack],
  297.          [m4_defn([m4_expansion_stack])
  298. m4_location[: the top level]]))dnl
  299.  
  300. T24,85
  301. m4_location(_AS_PREPARE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:222
  302. T14,300
  303. _AS_CR_PREPARE_m4_defun_pro([_AS_CR_PREPARE])# Avoid depending upon Character Ranges.
  304. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  305. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  306. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  307. as_cr_digits='0123456789'
  308. as_cr_alnum=$as_cr_Letters$as_cr_digits
  309. []_m4_defun_epi([_AS_CR_PREPARE])
  310. T17,0
  311. m4_pattern_forbid
  312. T9,159
  313. m4_divertm4_define([m4_divert_stack],
  314.        m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
  315. m4_defn([m4_divert_stack])]))dnl
  316. m4_builtin([divert], _m4_divert([$1]))dnl
  317.  
  318. T18,107
  319. m4_version_comparem4_list_cmp((m4_split(m4_version_unletter([$1]), [\.])),
  320.          (m4_split(m4_version_unletter([$2]), [\.])))
  321. T7,0
  322. __gnu__
  323. T18,1
  324. _m4_divert(NOTICE)4
  325. F9,6
  326. m4_syscmdsyscmd
  327. T14,293
  328. AS_HELP_STRINGm4_pushdef([AS_Prefix], m4_default([$3], [                          ]))dnl
  329. m4_pushdef([AS_Prefix_Format],
  330.        [  %-]m4_eval(m4_len(AS_Prefix) - 3)[s ])dnl [  %-23s ]
  331. m4_text_wrap([$2], AS_Prefix, m4_format(AS_Prefix_Format, [$1]))dnl
  332. m4_popdef([AS_Prefix_Format])dnl
  333. m4_popdef([AS_Prefix])dnl
  334.  
  335. T13,52
  336. m4_cr_LettersabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
  337. T16,5
  338. _m4_divert(GROW)10000
  339. T7,58
  340. AT_LINEm4_bpatsubst(__file__, [^\(.*/\)*\(.*\)], [[\2]]):__line__
  341. T12,64
  342. m4_re_stringabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789*
  343. T20,89
  344. m4_location(m4_join)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sugar.m4:1492
  345. T17,219
  346. _AS_TR_SH_PREPARE_m4_defun_pro([_AS_TR_SH_PREPARE])AS_REQUIRE([_AS_CR_PREPARE])dnl
  347. # Sed expression to map a string onto a valid variable name.
  348. as_tr_sh="eval sed 'y%*+%pp%;s%[[^_$as_cr_alnum]]%_%g'"
  349. []_m4_defun_epi([_AS_TR_SH_PREPARE])
  350. T26,383
  351. _AS_PATH_SEPARATOR_PREPARE_m4_defun_pro([_AS_PATH_SEPARATOR_PREPARE])# The user is always right.
  352. if test "${PATH_SEPARATOR+set}" != set; then
  353.   echo "#! /bin/sh" >conf$$.sh
  354.   echo  "exit 0"   >>conf$$.sh
  355.   chmod +x conf$$.sh
  356.   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  357.     PATH_SEPARATOR=';'
  358.   else
  359.     PATH_SEPARATOR=:
  360.   fi
  361.   rm -f conf$$.sh
  362. fi
  363. []_m4_defun_epi([_AS_PATH_SEPARATOR_PREPARE])
  364. T17,107
  365. AT_ARG_OPTION_ARG_m4_defun_pro([AT_ARG_OPTION_ARG])_AT_ARG_OPTION([$1],[$2],1,[$3],[$4])[]_m4_defun_epi([AT_ARG_OPTION_ARG])
  366. F8,8
  367. __file____file__
  368. T9,58
  369. m4_appendm4_define([$1],
  370.        m4_ifdef([$1], [m4_defn([$1])$3])[$2])
  371. T9,38
  372. AT_TESTEDm4_append_uniq([AT_tested], [$1], [ ])
  373. T8,219
  374. AS_TR_SH_m4_defun_pro([AS_TR_SH])AS_REQUIRE([_$0_PREPARE])dnl
  375. AS_LITERAL_IF([$1],
  376.           [m4_bpatsubst(m4_translit([[$1]], [*+], [pp]),
  377.                 [[^a-zA-Z0-9_]], [_])],
  378.           [`echo "$1" | $as_tr_sh`])[]_m4_defun_epi([AS_TR_SH])
  379. T7,30
  380. AT_DATAcat >$1 <<'_ATEOF'
  381. $2[]_ATEOF
  382.  
  383. T15,215
  384. AS_BASENAME_SED_m4_defun_pro([AS_BASENAME_SED])echo X/[]$1 |
  385.     sed ['/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  386.         /^X\/\(\/\/\)$/{ s//\1/; q; }
  387.         /^X\/\(\/\).*/{ s//\1/; q; }
  388.         s/.*/./; q'][]_m4_defun_epi([AS_BASENAME_SED])
  389. T11,165
  390. AS_BASENAME_m4_defun_pro([AS_BASENAME])AS_REQUIRE([_$0_PREPARE])dnl
  391. $as_basename $1 ||
  392. AS_BASENAME_EXPR([$1]) 2>/dev/null ||
  393. AS_BASENAME_SED([$1])[]_m4_defun_epi([AS_BASENAME])
  394. T10,69
  395. m4_tolowerm4_translit([$1], m4_defn([m4_cr_LETTERS]), m4_defn([m4_cr_letters]))
  396. T10,539
  397. AT_CLEANUPm4_append([AT_help_all],
  398. m4_defn([AT_ordinal]);m4_defn([AT_line]);m4_defn([AT_description]);m4_ifdef([AT_keywords], [m4_defn([AT_keywords])]);
  399. )dnl
  400. m4_divert_pop([TEST_SCRIPT])dnl Back to TESTS
  401.     AT_xfail
  402.     (
  403.       echo "AT_ordinal. m4_defn([AT_line]): testing $1..."
  404.       $at_traceon
  405. m4_undivert([TEST_SCRIPT])dnl Insert the code here
  406.       $at_traceoff
  407.       $at_times_p && times >$at_times_file
  408.     ) AS_MESSAGE_LOG_FD>&1 2>&1 | eval $at_tee_pipe
  409.     at_status=`cat $at_status_file`
  410.     ;;
  411.  
  412. m4_divert_pop([TESTS])dnl Back to KILL.
  413.  
  414. T29,85
  415. m4_location(_AS_LN_S_PREPARE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:631
  416. T8,101
  417. m4_fatalm4_errprintn(m4_location[: error: $1])dnl
  418. m4_expansion_stack_dump()dnl
  419. m4_exit(m4_if([$2],, 1, [$2]))
  420. T20,3
  421. _m4_divert(DEFAULTS)100
  422. T31,85
  423. m4_location(_AS_TR_CPP_PREPARE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:979
  424. T23,553
  425. _AS_BROKEN_TEST_PREPARE_m4_defun_pro([_AS_BROKEN_TEST_PREPARE])# Find out how to test for executable files. Don't use a zero-byte file,
  426. # as systems may use methods other than mode bits to determine executability.
  427. cat >conf$$.file <<_ASEOF
  428. @%:@! /bin/sh
  429. exit 0
  430. _ASEOF
  431. chmod +x conf$$.file
  432. if test -x conf$$.file >/dev/null 2>&1; then
  433.   as_executable_p="test -x"
  434. elif test -f conf$$.file >/dev/null 2>&1; then
  435.   as_executable_p="test -f"
  436. else
  437.   AS_ERROR([cannot check whether a file is executable on this system])
  438. fi
  439. rm -f conf$$.file
  440. []_m4_defun_epi([_AS_BROKEN_TEST_PREPARE])
  441. T17,201
  442. _AS_UNSET_PREPARE_m4_defun_pro([_AS_UNSET_PREPARE])# Support unset when possible.
  443. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  444.   as_unset=unset
  445. else
  446.   as_unset=false
  447. fi
  448. []_m4_defun_epi([_AS_UNSET_PREPARE])
  449. F9,6
  450. m4_definedefine
  451. F11,8
  452. m4_translittranslit
  453. T9,58
  454. m4_ifvalnm4_if([$1],
  455.        [],   [m4_n([$3])],
  456.          [m4_n([$2])])
  457. T20,201
  458. _AS_BASENAME_PREPARE_m4_defun_pro([_AS_BASENAME_PREPARE])if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  459.   as_basename=basename
  460. else
  461.   as_basename=false
  462. fi
  463. []_m4_defun_epi([_AS_BASENAME_PREPARE])
  464. T12,24
  465. m4_rename_m4m4_rename([$1], [m4_$1])
  466. T13,282
  467. _m4_defun_prom4_expansion_stack_push(m4_defn([m4_location($1)])[: $1 is expanded from...])dnl
  468. m4_pushdef([_m4_expanding($1)])dnl
  469. m4_ifdef([_m4_divert_dump],
  470.      [m4_divert_push(m4_defn([_m4_divert_diversion]))],
  471.      [m4_copy([_m4_divert_diversion], [_m4_divert_dump])dnl
  472. m4_divert_push([GROW])])dnl
  473.  
  474. F7,4
  475. m4_decrdecr
  476. F10,7
  477. m4_pushdefpushdef
  478. T14,2438
  479. _AT_ARG_OPTION_m4_defun_pro([_AT_ARG_OPTION])m4_divert_once([HELP_OTHER],
  480. [cat <<_ATEOF
  481.  
  482. Other options:
  483. _ATEOF
  484. ])dnl m4_divert_once HELP_OTHER
  485. m4_divert_text([HELP_OTHER],
  486. [cat <<_ATEOF
  487. $2
  488. _ATEOF])dnl
  489. dnl Turn our options into our desired strings
  490. m4_ifdef([AT_first_option],[m4_undefine([AT_first_option])])dnl
  491. m4_ifdef([AT_case],[m4_undefine([AT_case])])dnl
  492. m4_ifdef([AT_case_no],[m4_undefine([AT_case_no])])dnl
  493. m4_ifdef([AT_case_arg],[m4_undefine([AT_case_arg])])dnl
  494. m4_foreach([AT_option], m4_split(m4_normalize([$1]),[[ \|]+]),
  495. [m4_define_default([AT_first_option],AT_option)dnl
  496. m4_append([AT_case],m4_if(m4_len(AT_option),1,[],[-])[-]AT_option, [ | ])dnl
  497. m4_append([AT_case_no],[--no]AT_option, [ | ])dnl
  498. m4_append([AT_case_arg],m4_if(m4_len(AT_option),1,[],[-])[-]AT_option[=*], [ | ])dnl
  499. ])dnl m4_foreach AT_option
  500. dnl keep track so we or the user may process ACTION-IF-NOT-GIVEN
  501. m4_divert_once([PARSE_ARGS_BEGIN],
  502. [
  503. ##
  504. ## Set up package specific options.
  505. ##
  506. ])dnl
  507. m4_divert_text([PARSE_ARGS_BEGIN],
  508. [dnl Provide a default value for options without arguments.
  509. m4_ifvaln([$3],,[at_arg_[]m4_bpatsubst([AT_first_option], -, _)=false])dnl
  510. at_arg_given_[]m4_bpatsubst([AT_first_option], -, _)=false
  511. ])dnl m4_divert_text DEFAULTS
  512. m4_ifval([$3],[m4_divert_once([PARSE_ARGS_END],
  513. [
  514. ##
  515. ## Verify our last option didn't require an argument
  516. ##
  517. AS_IF([test -n "$at_prev"],[AS_ERROR([`$at_prev' requires an argument.])])])])
  518. m4_divert_text([PARSE_ARGS],
  519. [dnl Parse the options and args when necessary.
  520. m4_ifvaln([$3],
  521. [    AT_case )
  522.     at_prev=--m4_bpatsubst([AT_first_option], -, _)
  523.     ;;
  524.     AT_case_arg )
  525.     at_arg_[]m4_bpatsubst([AT_first_option], -, _)=$at_optarg
  526.     at_arg_given_[]m4_bpatsubst([AT_first_option], -, _)=:
  527.     $4
  528.     ;;],
  529. [    AT_case )
  530.     at_optarg=:
  531.     at_arg_[]m4_bpatsubst([AT_first_option], -, _)=:
  532.     at_arg_given_[]m4_bpatsubst([AT_first_option], -, _)=:
  533.     m4_ifval([$4],[$4])dnl
  534.     ;;
  535.     AT_case_no )
  536.     at_optarg=false
  537.     at_arg_[]m4_bpatsubst([AT_first_option], -, _)=false
  538.     at_arg_given_[]m4_bpatsubst([AT_first_option], -, _)=:
  539.     m4_ifval([$4],[$4])dnl
  540.     ;;])dnl m4_ifvaln $3
  541. ])dnl m4_divert_text PARSE_ARGS
  542. m4_ifvaln([$5],
  543. [m4_divert_once([PARSE_ARGS_END],
  544. [
  545. ##
  546. ## Process package specific options when _not_ supplied.
  547. ##])dnl m4_divert_once PARSE_ARGS_END
  548. m4_divert_text([PARSE_ARGS_END],
  549. [
  550. AS_IF([$at_arg_given_[]m4_bpatsubst([AT_first_option], -, _)],,[$5])dnl
  551. ])dnl m4_divert_text PARSE_ARGS_END
  552. ])dnl m4_ifvaln $5
  553. []_m4_defun_epi([_AT_ARG_OPTION])
  554. F9,6
  555. m4_divnumdivnum
  556. T14,53
  557. m4_cr_symbols1abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_
  558. T14,63
  559. m4_cr_symbols2abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789
  560. T13,39
  561. AS_LITERAL_IFm4_bmatch([$1], [[`$]],
  562.        [$3], [$2])
  563. T13,26
  564. m4_cr_lettersabcdefghijklmnopqrstuvwxyz
  565. T14,44
  566. m4_divert_oncem4_expand_once([m4_divert_text([$1], [$2])])
  567. T24,85
  568. m4_location(AS_BASENAME)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:480
  569. T9,75
  570. m4_beforem4_provide_if([$2],
  571.            [m4_warn([syntax], [$2 was called before $1])])
  572. T30,85
  573. m4_location(AS_SHELL_SANITIZE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:185
  574. T7,84
  575. m4_defnm4_ifndef([$1],
  576.        [m4_fatal([$0: undefined macro: $1])])dnl
  577. m4_builtin([defn], $@)
  578. T30,85
  579. m4_location(_AS_TR_SH_PREPARE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:957
  580. T11,55
  581. m4_sincludem4_include_unique([$1])dnl
  582. m4_builtin([sinclude], [$1])
  583. T26,1
  584. _m4_divert(HEADER-COMMENT)2
  585. F11,8
  586. m4_errprinterrprint
  587. T21,3
  588. _m4_divert(TESTS_END)402
  589. T13,190
  590. m4_defun_oncem4_define([m4_location($1)], m4_location)dnl
  591. m4_define([$1],
  592.       [m4_provide_if([$1],
  593.              [m4_warn([syntax], [$1 invoked multiple times])],
  594.              [_m4_defun_pro([$1])$2[]_m4_defun_epi([$1])])])
  595. T9,1348
  596. _AT_CHECK$at_traceoff
  597. echo "AT_LINE: AS_ESCAPE([$1])"
  598. echo AT_LINE >$at_check_line_file
  599. ( $at_traceon; $1 ) >$at_stdout 2>$at_stder1
  600. at_status=$?
  601. grep '^ *+' $at_stder1 >&2
  602. grep -v '^ *+' $at_stder1 >$at_stderr
  603. at_failed=false
  604. dnl Check stderr.
  605. m4_case([$4],
  606.     stderr, [echo stderr:; tee stderr <$at_stderr],
  607.     ignore, [echo stderr:; cat $at_stderr],
  608.     experr, [$at_diff experr $at_stderr || at_failed=:],
  609.     [],     [$at_diff $at_devnull $at_stderr || at_failed=:],
  610.     [echo >>$at_stderr; echo "m4_ifval([$7],[AS_ESCAPE([$4])],[$4])" | $at_diff - $at_stderr || at_failed=:])
  611. dnl Check stdout.
  612. m4_case([$3],
  613.     stdout, [echo stdout:; tee stdout <$at_stdout],
  614.     ignore, [echo stdout:; cat $at_stdout],
  615.     expout, [$at_diff expout $at_stdout || at_failed=:],
  616.     [],     [$at_diff $at_devnull $at_stdout || at_failed=:],
  617.     [echo >>$at_stdout; echo "m4_ifval([$7],[AS_ESCAPE([$3])],[$3])" | $at_diff - $at_stdout || at_failed=:])
  618. dnl Check exit val.  Don't `skip' if we are precisely checking $? = 77.
  619. case $at_status in
  620. m4_case([$2],
  621.   [77],
  622.     [],
  623.     [   77) echo 77 > $at_status_file
  624.             exit 77;;
  625. ])dnl
  626. m4_case([$2],
  627.   [ignore],
  628.     [   *);;],
  629.     [   m4_default([$2], [0])) ;;
  630.    *) echo "AT_LINE: exit code was $at_status, expected m4_default([$2], [0])"
  631.       at_failed=:;;])
  632. esac
  633. AS_IF($at_failed, [$5
  634.   echo 1 > $at_status_file
  635.   exit 1], [$6])
  636. $at_traceon
  637.  
  638. T8,66
  639. m4_ifsetm4_ifdef([$1],
  640.       [m4_if(m4_defn([$1]), [], [$3], [$2])],
  641.       [$3])
  642. T8,1069
  643. AS_UNAME{
  644. cat <<_ASUNAME
  645. m4_text_box([Platform.])
  646.  
  647. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  648. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  649. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  650. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  651. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  652.  
  653. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  654. /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  655.  
  656. /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  657. /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  658. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  659. hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
  660. /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  661. /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  662. /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  663.  
  664. _ASUNAME
  665.  
  666. _AS_PATH_WALK([$PATH], [echo "PATH: $as_dir"])
  667. }
  668. T7,277
  669. AS_INITm4_init
  670.  
  671. # Forbidden tokens and exceptions.
  672. m4_pattern_forbid([^_?AS_])
  673.  
  674. # Bangshe and minimal initialization.
  675. m4_divert_text([BINSH], [@%:@! /bin/sh])
  676. m4_divert_text([M4SH-INIT], [AS_SHELL_SANITIZE])
  677.  
  678. # Let's go!
  679. m4_wrap([m4_divert_pop([BODY])[]])
  680. m4_divert_push([BODY])[]dnl
  681.  
  682. T8,42
  683. _AS_ECHO_AS_ECHO_UNQUOTED([_AS_QUOTE([$1])], [$2])
  684. T33,85
  685. m4_location(_AS_BASENAME_PREPARE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:501
  686. T6,4
  687. m4_car[$1]
  688. T10,46
  689. m4_foreachm4_pushdef([$1])_m4_foreach($@)m4_popdef([$1])
  690. F9,6
  691. m4_sysvalsysval
  692. T29,85
  693. m4_location(_AS_EXPR_PREPARE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:514
  694. F7,4
  695. m4_evaleval
  696. F12,9
  697. m4_debugmodedebugmode
  698. T16,0
  699. m4_pattern_allow
  700. T32,85
  701. m4_location(_AS_MKDIR_P_PREPARE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:698
  702. T21,85
  703. m4_location(AS_UNSET)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:299
  704. T14,115
  705. m4_expand_oncem4_provide_if(m4_ifval([$2], [[$2]], [[$1]]),
  706.            [],
  707.            [m4_provide(m4_ifval([$2], [[$2]], [[$1]]))[]$1])
  708. T12,18
  709. m4_errprintnm4_errprint([$1
  710. ])
  711. T14,135
  712. _AS_TR_PREPARE_m4_defun_pro([_AS_TR_PREPARE])AS_REQUIRE([_AS_TR_SH_PREPARE])dnl
  713. AS_REQUIRE([_AS_TR_CPP_PREPARE])dnl
  714. []_m4_defun_epi([_AS_TR_PREPARE])
  715. T23,85
  716. m4_location(AS_DIRNAME)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:454
  717. T19,177
  718. _AS_MKDIR_P_PREPARE_m4_defun_pro([_AS_MKDIR_P_PREPARE])if mkdir -p . 2>/dev/null; then
  719.   as_mkdir_p=:
  720. else
  721.   test -d ./-p && rmdir ./-p
  722.   as_mkdir_p=false
  723. fi
  724. []_m4_defun_epi([_AS_MKDIR_P_PREPARE])
  725. T6,23
  726. m4_cdrm4_dquote(m4_shift($@))
  727. T27,86
  728. m4_location(_AS_TR_PREPARE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:1002
  729. T26,24
  730. m4_location(AT_ARG_OPTION)autotest/general.m4:1001
  731. T12,967
  732. m4_text_wrapm4_pushdef([m4_Prefix], m4_default([$2], []))dnl
  733. m4_pushdef([m4_Prefix1], m4_default([$3], [m4_Prefix]))dnl
  734. m4_pushdef([m4_Width], m4_default([$4], 79))dnl
  735. m4_pushdef([m4_Cursor], m4_len(m4_Prefix1))dnl
  736. m4_pushdef([m4_Separator], [])dnl
  737. m4_Prefix1[]dnl
  738. m4_if(m4_eval(m4_Cursor > m4_len(m4_Prefix)),
  739.       1, [m4_define([m4_Cursor], m4_len(m4_Prefix))
  740. m4_Prefix])[]dnl
  741. m4_foreach([m4_Word], m4_quote(m4_split(m4_normalize([$1]))),
  742. [m4_define([m4_Cursor], m4_eval(m4_Cursor + m4_len(m4_defn([m4_Word])) + 1))dnl
  743. dnl New line if too long, else insert a space unless it is the first
  744. dnl of the words.
  745. m4_if(m4_eval(m4_Cursor > m4_Width),
  746.       1, [m4_define([m4_Cursor],
  747.             m4_eval(m4_len(m4_Prefix) + m4_len(m4_defn([m4_Word])) + 1))]
  748. m4_Prefix,
  749.        [m4_Separator])[]dnl
  750. m4_defn([m4_Word])[]dnl
  751. m4_define([m4_Separator], [ ])])dnl
  752. m4_popdef([m4_Separator])dnl
  753. m4_popdef([m4_Cursor])dnl
  754. m4_popdef([m4_Width])dnl
  755. m4_popdef([m4_Prefix1])dnl
  756. m4_popdef([m4_Prefix])dnl
  757.  
  758. T14,109
  759. m4_file_appendm4_syscmd([cat >>$1 <<_m4eof
  760. $2
  761. _m4eof
  762. ])
  763. m4_if(m4_sysval, [0], [],
  764.       [m4_fatal([$0: cannot write: $1])])
  765. T22,85
  766. m4_location(AS_TR_CPP)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:994
  767. F8,5
  768. m4_ifdefifdef
  769. F7,4
  770. m4_incrincr
  771. T4,37
  772. m4_nm4_if([$1],
  773.        [], [],
  774.        [$1
  775. ])
  776. T10,73
  777. AS_VAR_SETAS_LITERAL_IF([$1],
  778.            [$1=$2],
  779.            [eval "$1=AS_ESCAPE([$2])"])
  780. T18,4
  781. m4_PACKAGE_VERSION2.59
  782. T9,69
  783. m4_assertm4_if(m4_eval([$1]), 0,
  784.        [m4_fatal([assert failed: $1], [$2])])
  785. T14,221
  786. m4_divert_pushm4_pushdef([m4_divert_stack],
  787.         m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
  788. m4_defn([m4_divert_stack])]))dnl
  789. m4_pushdef([_m4_divert_diversion], [$1])dnl
  790. m4_builtin([divert], _m4_divert(_m4_divert_diversion))dnl
  791.  
  792. T8,0
  793. __unix__
  794. T5,70
  795. m4_dom4_if($#, 0, [],
  796.        $#, 1, [$1],
  797.        [$1[]m4_do(m4_shift($@))])
  798. T17,32
  799. m4_define_defaultm4_ifndef([$1], [m4_define($@)])
  800. T9,263
  801. AT_BANNERm4_define([AT_banner_ordinal], m4_incr(AT_banner_ordinal))
  802. m4_append([AT_groups_all], [ banner-]m4_defn([AT_banner_ordinal]))
  803. m4_divert_text([TESTS],
  804. [
  805.   banner-AT_banner_ordinal ) @%:@ Banner AT_banner_ordinal. AT_LINE
  806.     cat <<\_ATEOF
  807.  
  808. $1
  809.  
  810. _ATEOF
  811.     ;;
  812. ])dnl
  813.  
  814. F8,8
  815. __line____line__
  816. T9,26
  817. m4_ifndefm4_ifdef([$1], [$3], [$2])
  818. T30,85
  819. m4_location(_AS_UNSET_PREPARE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:290
  820. T9,586
  821. AS_TMPDIR# Create a temporary directory, and hook for its removal unless debugging.
  822. $debug ||
  823. {
  824.   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  825.   trap 'AS_EXIT([1])' 1 2 13 15
  826. }
  827.  
  828. # Create a (secure) tmp directory for tmp files.
  829. m4_if([$2], [], [: ${TMPDIR=/tmp}])
  830. {
  831.   tmp=`(umask 077 && mktemp -d -q "m4_default([$2], [$TMPDIR])/$1XXXXXX") 2>/dev/null` &&
  832.   test -n "$tmp" && test -d "$tmp"
  833. }  ||
  834. {
  835.   tmp=m4_default([$2], [$TMPDIR])/$1$$-$RANDOM
  836.   (umask 077 && mkdir $tmp)
  837. } ||
  838. {
  839.    echo "$me: cannot create a temporary directory in m4_default([$2], [$TMPDIR])" >&2
  840.    AS_EXIT
  841. }dnl
  842.  
  843. T17,17
  844. m4_PACKAGE_STRINGGNU Autoconf 2.59
  845. F11,8
  846. m4_maketempmaketemp
  847. T13,98
  848. AT_ARG_OPTION_m4_defun_pro([AT_ARG_OPTION])_AT_ARG_OPTION([$1],[$2],,[$3],[$4])[]_m4_defun_epi([AT_ARG_OPTION])
  849. T11,40
  850. m4_undivertm4_builtin([undivert], _m4_divert([$1]))
  851. T10,161
  852. AS_MESSAGEm4_ifset([AS_MESSAGE_LOG_FD],
  853.       [{ _AS_ECHO([$as_me:$LINENO: $1], [AS_MESSAGE_LOG_FD])
  854. _AS_ECHO([$as_me: $1], [$2]);}],
  855.       [_AS_ECHO([$as_me: $1], [$2])])[]dnl
  856.  
  857. F5,6
  858. m4_ififelse
  859. T8,151
  860. AS_UNSET_m4_defun_pro([AS_UNSET])AS_REQUIRE([_AS_UNSET_PREPARE])dnl
  861. $as_unset $1 || test "${$1+set}" != set || { $1=$2; export $1; }[]_m4_defun_epi([AS_UNSET])
  862. T8,4
  863. m4_quote[$*]
  864. F8,5
  865. m4_indexindex
  866. T14,120
  867. AS_SET_CATFILEcase $2 in
  868. .) $1=$3;;
  869. *)
  870.   case $3 in
  871.   .) $1=$2;;
  872.   [[\\/]]* | ?:[[\\/]]* ) $1=$3;;
  873.   *) $1=$2/$3;;
  874.   esac;;
  875. esac[]dnl
  876.  
  877. F12,8
  878. m4_bpatsubstpatsubst
  879. T17,1
  880. _m4_divert(BINSH)0
  881. T16,94
  882. _AS_TEST_PREPARE_m4_defun_pro([_AS_TEST_PREPARE])as_executable_p="test -f"
  883. []_m4_defun_epi([_AS_TEST_PREPARE])
  884. T15,97
  885. AS_VAR_TEST_SETAS_LITERAL_IF([$1],
  886.            [test "${$1+set}" = set],
  887.            [eval "test \"\${$1+set}\" = set"])
  888. T15,36
  889. _AS_BOX_LITERALcat <<\_ASBOX
  890. m4_text_box($@)
  891. _ASBOX
  892. T7,376
  893. m4_init# All the M4sugar macros start with `m4_', except `dnl' kept as is
  894. # for sake of simplicity.
  895. m4_pattern_forbid([^_?m4_])
  896. m4_pattern_forbid([^dnl$])
  897.  
  898. # Check the divert push/pop perfect balance.
  899. m4_wrap([m4_ifdef([_m4_divert_diversion],
  900.           [m4_fatal([$0: unbalanced m4_divert_push:]
  901. m4_defn([m4_divert_stack]))])[]])
  902.  
  903. m4_divert_push([KILL])
  904. m4_wrap([m4_divert_pop([KILL])[]])
  905.  
  906. T9,86
  907. m4_popdefm4_ifndef([$1],
  908.        [m4_fatal([$0: undefined macro: $1])])dnl
  909. m4_builtin([popdef], $@)
  910. T10,308
  911. AS_MKDIR_PAS_REQUIRE([_$0_PREPARE])dnl
  912. { if $as_mkdir_p; then
  913.     mkdir -p $1
  914.   else
  915.     as_dir=$1
  916.     as_dirs=
  917.     while test ! -d "$as_dir"; do
  918.       as_dirs="$as_dir $as_dirs"
  919.       as_dir=`AS_DIRNAME("$as_dir")`
  920.     done
  921.     test ! -n "$as_dirs" || mkdir $as_dirs
  922.   fi || AS_ERROR([cannot create directory $1]); }
  923.  
  924. T16,217
  925. AS_BASENAME_EXPR_m4_defun_pro([AS_BASENAME_EXPR])AS_REQUIRE([_AS_EXPR_PREPARE])dnl
  926. $as_expr X/[]$1 : '.*/\([[^/][^/]*]\)/*$' \| \
  927.      X[]$1 : 'X\(//\)$' \| \
  928.      X[]$1 : 'X\(/\)$' \| \
  929.      .     : '\(.\)'[]_m4_defun_epi([AS_BASENAME_EXPR])
  930. T6,27
  931. m4_cmpm4_sign(m4_eval([$1 - $2]))
  932. F6,3
  933. m4_lenlen
  934. T8,0
  935. _m4_warn
  936. T9,36
  937. m4_renamem4_copy([$1], [$2])m4_undefine([$1])
  938. T11,275
  939. AT_XFAIL_IFdnl
  940. dnl Try to limit the amount of conditionals that we emit.
  941. m4_case([$1],
  942.       [], [],
  943.       [false], [],
  944.       [:], [m4_define([AT_xfail], [at_xfail=yes])],
  945.       [true], [m4_define([AT_xfail], [at_xfail=yes])],
  946.       [m4_append([AT_xfail], [
  947.       $1 && at_xfail=yes])])
  948. T14,50
  949. m4_divert_textm4_divert_push([$1])dnl
  950. $2
  951. m4_divert_pop([$1])dnl
  952.  
  953. F8,5
  954. m4_indirindir
  955. T6,79
  956. AS_BOXAS_LITERAL_IF([$1],
  957.            [_AS_BOX_LITERAL($@)],
  958.            [_AS_BOX_INDIR($@)])
  959. T13,26
  960. m4_cr_LETTERSABCDEFGHIJKLMNOPQRSTUVWXYZ
  961. T26,3
  962. _m4_divert(PARSE_ARGS_END)202
  963. T30,24
  964. m4_location(AT_ARG_OPTION_ARG)autotest/general.m4:1021
  965. T9,167
  966. _AS_QUOTE_AS_QUOTE_IFELSE([$1],
  967.           [AS_ESCAPE([$1], m4_default([$2], [`""]))],
  968.           [m4_warn([obsolete],
  969.        [back quotes and double quotes must not be escaped in: $1])dnl
  970. $1])
  971. T10,54
  972. m4_noquotem4_changequote(-=<{,}>=-)$1-=<{}>=-m4_changequote([,])
  973. T16,2
  974. _m4_divert(KILL)-1
  975. T17,40
  976. AT_CHECK_NOESCAPE_AT_CHECK([$1],[$2],[$3],[$4],[$5],[$6])
  977. T7,57
  978. AS_EXIT{ (exit m4_default([$1], 1)); exit m4_default([$1], 1); }
  979. T17,186
  980. m4_version_prereqm4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]), [$1]), -1,
  981.        [m4_default([$3],
  982.            [m4_fatal([Autoconf version $1 or higher is required],
  983.                  63)])],
  984.        [$2])[]dnl
  985.  
  986. F8,5
  987. m4_shiftshift
  988. T17,3
  989. _m4_divert(TESTS)401
  990. T10,40
  991. m4_warningm4_errprintn(m4_location[: warning: $1])
  992. T6,76
  993. m4_mapm4_if([$2], [[]], [],
  994.        [$1(m4_fst($2))[]dnl
  995. m4_map([$1], m4_cdr($2))])
  996. T15,253
  997. AS_DIRNAME_EXPR_m4_defun_pro([AS_DIRNAME_EXPR])AS_REQUIRE([_AS_EXPR_PREPARE])dnl
  998. $as_expr X[]$1 : 'X\(.*[[^/]]\)//*[[^/][^/]]*/*$' \| \
  999.      X[]$1 : 'X\(//\)[[^/]]' \| \
  1000.      X[]$1 : 'X\(//\)$' \| \
  1001.      X[]$1 : 'X\(/\)' \| \
  1002.      .     : '\(.\)'[]_m4_defun_epi([AS_DIRNAME_EXPR])
  1003. T13,411
  1004. m4_divert_popm4_ifval([$1],
  1005.      [m4_if(_m4_divert([$1]), m4_divnum, [],
  1006.         [m4_fatal([$0($1): diversion mismatch: ]
  1007. m4_defn([m4_divert_stack]))])])dnl
  1008. m4_popdef([_m4_divert_diversion])dnl
  1009. dnl m4_ifndef([_m4_divert_diversion],
  1010. dnl           [m4_fatal([too many m4_divert_pop])])dnl
  1011. m4_builtin([divert],
  1012.        m4_ifdef([_m4_divert_diversion],
  1013.             [_m4_divert(_m4_divert_diversion)], -1))dnl
  1014. m4_popdef([m4_divert_stack])dnl
  1015.  
  1016. T23,126
  1017. m4_expansion_stack_dumpm4_ifdef([m4_expansion_stack],
  1018.       [m4_errprintn(m4_defn([m4_expansion_stack]))])dnl
  1019. m4_errprintn(m4_location[: the top level])
  1020. T27,1
  1021. _m4_divert(HEADER-REVISION)1
  1022. T10,137
  1023. m4_map_sepm4_if([$3], [[]], [],
  1024.        [$1(m4_fst($3))[]dnl
  1025. m4_if(m4_cdr($3),
  1026.       [[]], [],
  1027.       [$2])[]dnl
  1028. m4_map_sep([$1], [$2], m4_cdr($3))])
  1029. T11,414
  1030. _AS_PREPARE_m4_defun_pro([_AS_PREPARE])# PATH needs CR, and LINENO needs CR and PATH.
  1031. _AS_CR_PREPARE
  1032. _AS_PATH_SEPARATOR_PREPARE
  1033. _AS_LINENO_PREPARE
  1034.  
  1035. _AS_ECHO_N_PREPARE
  1036. _AS_EXPR_PREPARE
  1037. _AS_LN_S_PREPARE
  1038. _AS_MKDIR_P_PREPARE
  1039. _AS_TEST_PREPARE
  1040. _AS_TR_CPP_PREPARE
  1041. _AS_TR_SH_PREPARE
  1042.  
  1043. # IFS
  1044. # We need space, tab and new line, in precisely that order.
  1045. as_nl='
  1046. '
  1047. IFS="     $as_nl"
  1048.  
  1049. # CDPATH.
  1050. $as_unset CDPATH
  1051. []_m4_defun_epi([_AS_PREPARE])
  1052. T11,88
  1053. m4_undefinem4_ifndef([$1],
  1054.        [m4_fatal([$0: undefined macro: $1])])dnl
  1055. m4_builtin([undefine], $@)
  1056. F10,7
  1057. m4_traceontraceon
  1058. T36,85
  1059. m4_location(_AS_BROKEN_TEST_PREPARE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:741
  1060. T17,1150
  1061. AS_SHELL_SANITIZE_m4_defun_pro([AS_SHELL_SANITIZE])## --------------------- ##
  1062. ## M4sh Initialization.  ##
  1063. ## --------------------- ##
  1064.  
  1065. # Be Bourne compatible
  1066. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  1067.   emulate sh
  1068.   NULLCMD=:
  1069.   [#] Zsh 3.x and 4.x performs word splitting on ${1+"$[@]"}, which
  1070.   # is contrary to our usage.  Disable this feature.
  1071.   alias -g '${1+"$[@]"}'='"$[@]"'
  1072. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  1073.   set -o posix
  1074. fi
  1075. DUALCASE=1; export DUALCASE # for MKS sh
  1076.  
  1077. _AS_UNSET_PREPARE
  1078.  
  1079. # Work around bugs in pre-3.0 UWIN ksh.
  1080. $as_unset ENV MAIL MAILPATH
  1081. PS1='$ '
  1082. PS2='> '
  1083. PS4='+ '
  1084.  
  1085. # NLS nuisances.
  1086. for as_var in \
  1087.   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  1088.   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  1089.   LC_TELEPHONE LC_TIME
  1090. do
  1091.   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  1092.     eval $as_var=C; export $as_var
  1093.   else
  1094.     $as_unset $as_var
  1095.   fi
  1096. done
  1097.  
  1098. # Required to use basename.
  1099. _AS_EXPR_PREPARE
  1100. _AS_BASENAME_PREPARE
  1101.  
  1102. # Name of the executable.
  1103. as_me=`AS_BASENAME("$[0]")`
  1104.  
  1105. []_m4_defun_epi([AS_SHELL_SANITIZE])
  1106. T7,101
  1107. _m4_for$4[]dnl
  1108. m4_if($1, [$2], [],
  1109.       [m4_define([$1], m4_eval($1+[$3]))_m4_for([$1], [$2], [$3], [$4])])
  1110. F3,3
  1111. dnldnl
  1112. T20,85
  1113. m4_location(AS_LN_S)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:686
  1114. T28,85
  1115. m4_location(AS_EXECUTABLE_P)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:489
  1116. T8,27
  1117. m4_ifvalm4_if([$1], [], [$3], [$2])
  1118. F10,10
  1119. changewordchangeword
  1120. T11,48
  1121. m4_dumpdefs_m4_dumpdefs_up([$1])dnl
  1122. _m4_dumpdefs_down([$1])
  1123. F12,9
  1124. m4_changecomchangecom
  1125. T5,97
  1126. AS_IFm4_ifval([$2$3],
  1127. [if $1; then
  1128.   m4_ifval([$2], [$2], :)
  1129. m4_ifvaln([$3],
  1130. [else
  1131.   $3])dnl
  1132. fi
  1133. ])dnl
  1134.  
  1135. T10,27
  1136. m4_providem4_define([m4_provide($1)])
  1137. T10,26
  1138. m4_defaultm4_ifval([$1], [$1], [$2])
  1139. T7,129
  1140. m4_join_m4_defun_pro([m4_join])m4_case([$#],
  1141.      [1], [],
  1142.      [2], [[$2]],
  1143.      [[$2][$1]$0([$1], m4_shiftn(2, $@))])[]_m4_defun_epi([m4_join])
  1144. T13,41
  1145. m4_provide_ifm4_ifdef([m4_provide($1)],
  1146.       [$2], [$3])
  1147. F10,7
  1148. m4_esyscmdesyscmd
  1149. F10,7
  1150. m4_builtinbuiltin
  1151. F10,6
  1152. m4_bregexpregexp
  1153. T12,26
  1154. m4_normalizem4_strip(m4_flatten([$1]))
  1155. T16,3
  1156. _m4_divert(HELP)300
  1157. T10,88
  1158. AS_REQUIREm4_provide_if([$1], [],
  1159.            [m4_divert_text([M4SH-INIT], [m4_default([$2], [$1])])])
  1160. T8,109
  1161. m4_defunm4_define([m4_location($1)], m4_location)dnl
  1162. m4_define([$1],
  1163.       [_m4_defun_pro([$1])$2[]_m4_defun_epi([$1])])
  1164. F12,9
  1165. m4_debugfiledebugfile
  1166. T7,99
  1167. AS_LN_S_m4_defun_pro([AS_LN_S])AS_REQUIRE([_AS_LN_S_PREPARE])dnl
  1168. $as_ln_s $1 $2
  1169. []_m4_defun_epi([AS_LN_S])
  1170. T25,3
  1171. _m4_divert(PREPARE_TESTS)400
  1172. T28,1
  1173. _m4_divert(HEADER-COPYRIGHT)3
  1174. T23,3
  1175. _m4_divert(TEST_SCRIPT)403
  1176. T7,21704
  1177. AT_INITm4_pattern_forbid([^_?AT_])
  1178. m4_define([AT_TESTSUITE_NAME],
  1179.       m4_defn([AT_PACKAGE_STRING])[ test suite]m4_ifval([$1], [: $1]))
  1180. m4_define([AT_ordinal], 0)
  1181. m4_define([AT_banner_ordinal], 0)
  1182. AS_INIT
  1183. AS_PREPARE
  1184. m4_divert_push([DEFAULTS])dnl
  1185.  
  1186. SHELL=${CONFIG_SHELL-/bin/sh}
  1187.  
  1188. # How were we run?
  1189. at_cli_args="$[@]"
  1190.  
  1191. # Load the config file.
  1192. for at_file in atconfig atlocal
  1193. do
  1194.   test -r $at_file || continue
  1195.   . ./$at_file || AS_ERROR([invalid content: $at_file])
  1196. done
  1197.  
  1198. # atconfig delivers paths relative to the directory the test suite is
  1199. # in, but the groups themselves are run in testsuite-dir/group-dir.
  1200. if test -n "$at_top_srcdir"; then
  1201.   builddir=../..
  1202.   for at_dir in srcdir top_srcdir top_builddir
  1203.   do
  1204.     at_val=AS_VAR_GET(at_$at_dir)
  1205.     AS_VAR_SET($at_dir, $at_val/../..)
  1206.   done
  1207. fi
  1208.  
  1209. # Not all shells have the 'times' builtin; the subshell is needed to make
  1210. # sure we discard the 'times: not found' message from the shell.
  1211. at_times_p=false
  1212. (times) >/dev/null 2>&1 && at_times_p=:
  1213.  
  1214. # CLI Arguments to pass to the debugging scripts.
  1215. at_debug_args=
  1216. # -e sets to true
  1217. at_errexit_p=false
  1218. # Shall we be verbose?
  1219. at_verbose=:
  1220. at_quiet=echo
  1221.  
  1222. # Shall we keep the debug scripts?  Must be `:' when the suite is
  1223. # run by a debug script, so that the script doesn't remove itself.
  1224. at_debug_p=false
  1225. # Display help message?
  1226. at_help_p=false
  1227. # List test groups?
  1228. at_list_p=false
  1229. # Test groups to run
  1230. at_groups=
  1231.  
  1232. # The directory we are in.
  1233. at_dir=`pwd`
  1234. # The directory the whole suite works in.
  1235. # Should be absolutely to let the user `cd' at will.
  1236. at_suite_dir=$at_dir/$as_me.dir
  1237. # The file containing the suite.
  1238. at_suite_log=$at_dir/$as_me.log
  1239. # The file containing the location of the last AT_CHECK.
  1240. at_check_line_file=$at_suite_dir/at-check-line
  1241. # The file containing the exit status of the last command.
  1242. at_status_file=$at_suite_dir/at-status
  1243. # The files containing the output of the tested commands.
  1244. at_stdout=$at_suite_dir/at-stdout
  1245. at_stder1=$at_suite_dir/at-stder1
  1246. at_stderr=$at_suite_dir/at-stderr
  1247. # The file containing dates.
  1248. at_times_file=$at_suite_dir/at-times
  1249. m4_divert_pop([DEFAULTS])dnl
  1250. m4_wrap([m4_divert_text([DEFAULTS],
  1251. [
  1252. # List of the tested programs.
  1253. at_tested='m4_ifdef([AT_tested], [AT_tested])'
  1254. # List of the all the test groups.
  1255. at_groups_all='AT_groups_all'
  1256. # As many dots as there are digits in the last test group number.
  1257. # Used to normalize the test group numbers so that `ls' lists them in
  1258. # numerical order.
  1259. at_format='m4_bpatsubst(m4_defn([AT_ordinal]), [.], [.])'
  1260. # Description of all the test groups.
  1261. at_help_all='AT_help_all'])])dnl
  1262. m4_divert_push([PARSE_ARGS])dnl
  1263.  
  1264. at_keywords=
  1265. at_prev=
  1266. for at_option
  1267. do
  1268.   # If the previous option needs an argument, assign it.
  1269.   if test -n "$at_prev"; then
  1270.     at_option=$at_prev=$at_option
  1271.     at_prev=
  1272.   fi
  1273.  
  1274.   at_optarg=`expr "x$at_option" : 'x[[^=]]*=\(.*\)'`
  1275.  
  1276.   # Accept the important Cygnus configure options, so we can diagnose typos.
  1277.  
  1278.   case $at_option in
  1279.     --help | -h )
  1280.     at_help_p=:
  1281.     ;;
  1282.  
  1283.     --list | -l )
  1284.     at_list_p=:
  1285.     ;;
  1286.  
  1287.     --version | -V )
  1288.     echo "$as_me (AT_PACKAGE_STRING)"
  1289.     exit 0
  1290.     ;;
  1291.  
  1292.     --clean | -c )
  1293.     rm -rf $at_suite_dir $at_suite_log
  1294.     exit 0
  1295.     ;;
  1296.  
  1297.     --debug | -d )
  1298.     at_debug_p=:
  1299.     ;;
  1300.  
  1301.     --errexit | -e )
  1302.     at_debug_p=:
  1303.     at_errexit_p=:
  1304.     ;;
  1305.  
  1306.     --verbose | -v )
  1307.     at_verbose=echo; at_quiet=:
  1308.     ;;
  1309.  
  1310.     --trace | -x )
  1311.     at_traceon='set -vx'; at_traceoff='set +vx'
  1312.     ;;
  1313.  
  1314.     [[0-9] | [0-9][0-9] | [0-9][0-9][0-9] | [0-9][0-9][0-9][0-9]])
  1315.     at_groups="$at_groups$at_option "
  1316.     ;;
  1317.  
  1318.     # Ranges
  1319.     [[0-9]- | [0-9][0-9]- | [0-9][0-9][0-9]- | [0-9][0-9][0-9][0-9]-])
  1320.     at_range_start=`echo $at_option |tr -d '-'`
  1321.     at_range=`echo " $at_groups_all " | \
  1322.       sed -e 's,^.* '$at_range_start' ,'$at_range_start' ,'`
  1323.     at_groups="$at_groups$at_range "
  1324.     ;;
  1325.  
  1326.     [-[0-9] | -[0-9][0-9] | -[0-9][0-9][0-9] | -[0-9][0-9][0-9][0-9]])
  1327.     at_range_end=`echo $at_option |tr -d '-'`
  1328.     at_range=`echo " $at_groups_all " | \
  1329.       sed -e 's, '$at_range_end' .*$, '$at_range_end','`
  1330.     at_groups="$at_groups$at_range "
  1331.     ;;
  1332.  
  1333.     [[0-9]-[0-9] | [0-9]-[0-9][0-9] | [0-9]-[0-9][0-9][0-9]] | \
  1334.     [[0-9]-[0-9][0-9][0-9][0-9] | [0-9][0-9]-[0-9][0-9]] | \
  1335.     [[0-9][0-9]-[0-9][0-9][0-9] | [0-9][0-9]-[0-9][0-9][0-9][0-9]] | \
  1336.     [[0-9][0-9][0-9]-[0-9][0-9][0-9]] | \
  1337.     [[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]] | \
  1338.     [[0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]] )
  1339.     at_range_start=`echo $at_option |sed 's,-.*,,'`
  1340.     at_range_end=`echo $at_option |sed 's,.*-,,'`
  1341.     # FIXME: Maybe test to make sure start <= end?
  1342.     at_range=`echo " $at_groups_all " | \
  1343.       sed -e 's,^.* '$at_range_start' ,'$at_range_start' ,' \
  1344.           -e 's, '$at_range_end' .*$, '$at_range_end','`
  1345.     at_groups="$at_groups$at_range "
  1346.     ;;
  1347.  
  1348.     # Keywords.
  1349.     --keywords | -k )
  1350.     at_prev=--keywords
  1351.     ;;
  1352.     --keywords=* )
  1353.     at_keywords="$at_keywords,$at_optarg"
  1354.     ;;
  1355. m4_divert_pop([PARSE_ARGS])dnl
  1356. dnl Process *=* last to allow for user specified --option=* type arguments.
  1357. m4_divert_push([PARSE_ARGS_END])dnl
  1358.  
  1359.     *=*)
  1360.       at_envvar=`expr "x$at_option" : 'x\([[^=]]*\)='`
  1361.       # Reject names that are not valid shell variable names.
  1362.       expr "x$at_envvar" : "[.*[^_$as_cr_alnum]]" >/dev/null &&
  1363.         AS_ERROR([invalid variable name: $at_envvar])
  1364.       at_value=`echo "$at_optarg" | sed "s/'/'\\\\\\\\''/g"`
  1365.       eval "$at_envvar='$at_value'"
  1366.       export $at_envvar
  1367.     # Propagate to debug scripts.
  1368.       at_debug_args="$at_debug_args $at_option"
  1369.       ;;
  1370.  
  1371.      *) echo "$as_me: invalid option: $at_option" >&2
  1372.     echo "Try \`$[0] --help' for more information." >&2
  1373.     exit 1
  1374.     ;;
  1375.   esac
  1376. done
  1377.  
  1378. # Process the --keywords
  1379. if test -n "$at_keywords"; then
  1380.   at_groups_selected=$at_help_all
  1381.   for at_keyword in `IFS=,; set X $at_keywords; shift; echo ${1+$[@]}`
  1382.   do
  1383.     # It is on purpose that we match the test group titles too.
  1384.     at_groups_selected=`echo "$at_groups_selected" |
  1385.             grep -i "^[[^;]]*;[[^;]]*.*[[; ]]$at_keyword[[ ;]]"`
  1386.   done
  1387.   at_groups_selected=`echo "$at_groups_selected" | sed 's/;.*//'`
  1388.   # Smash the end of lines.
  1389.   at_groups_selected=`echo $at_groups_selected`
  1390.   at_groups="$at_groups$at_groups_selected "
  1391. fi
  1392.  
  1393. # Selected test groups.
  1394. test -z "$at_groups" && at_groups=$at_groups_all
  1395. m4_divert_pop([PARSE_ARGS_END])dnl
  1396. m4_divert_push([HELP])dnl
  1397.  
  1398. # Help message.
  1399. if $at_help_p; then
  1400.   cat <<_ATEOF
  1401. Usage: $[0] [[OPTION]... [VARIABLE=VALUE]... [TESTS]]
  1402.  
  1403. Run all the tests, or the selected TESTS, and save a detailed log file.
  1404. Upon failure, create debugging scripts.
  1405.  
  1406. You should not change environment variables unless explicitly passed
  1407. as command line arguments.  Set \`AUTOTEST_PATH' to select the executables
  1408. to exercise.  Each relative directory is expanded as build and source
  1409. directories relatively to the top level of this distribution.  E.g.,
  1410.  
  1411.   $ $[0] AUTOTEST_PATH=bin
  1412.  
  1413. possibly amounts into
  1414.  
  1415.   PATH=/tmp/foo-1.0/bin:/src/foo-1.0/bin:\$PATH
  1416. _ATEOF
  1417. m4_divert_pop([HELP])dnl
  1418. m4_divert_push([HELP_MODES])dnl
  1419. cat <<_ATEOF
  1420.  
  1421. Operation modes:
  1422.   -h, --help     print the help message, then exit
  1423.   -V, --version  print version number, then exit
  1424.   -c, --clean    remove all the files this test suite might create and exit
  1425.   -l, --list     describes all the tests, or the selected TESTS
  1426. _ATEOF
  1427. m4_divert_pop([HELP_MODES])dnl
  1428. m4_divert_push([HELP_TUNING])dnl
  1429. cat <<_ATEOF
  1430.  
  1431. Execution tuning:
  1432.   -k, --keywords=KEYWORDS
  1433.              select the tests matching all the comma separated KEYWORDS
  1434.              accumulates
  1435.   -e, --errexit  abort as soon as a test fails; implies --debug
  1436.   -v, --verbose  force more detailed output
  1437.              default for debugging scripts
  1438.   -d, --debug    inhibit clean up and debug script creation
  1439.              default for debugging scripts
  1440.   -x, --trace    enable tests shell tracing
  1441. _ATEOF
  1442. m4_divert_pop([HELP_TUNING])dnl
  1443. m4_divert_push([HELP_END])dnl
  1444. cat <<_ATEOF
  1445.  
  1446. Report bugs to <AT_PACKAGE_BUGREPORT>.
  1447. _ATEOF
  1448.   exit 0
  1449. fi
  1450.  
  1451. # List of tests.
  1452. if $at_list_p; then
  1453.   cat <<_ATEOF
  1454. AT_TESTSUITE_NAME test groups:
  1455.  
  1456.  NUM: FILENAME:LINE      TEST-GROUP-NAME
  1457.       KEYWORDS
  1458.  
  1459. _ATEOF
  1460.   # "  1 42  45 " => "^(1|42|45);".
  1461.   at_groups_pattern=`echo "$at_groups" | sed 's/^  *//;s/  *$//;s/  */|/g'`
  1462.   echo "$at_help_all" |
  1463.     awk 'BEGIN { FS = ";" }
  1464.      { if ($[1] !~ /^('"$at_groups_pattern"')$/) next }
  1465.      { if ($[1]) printf " %3d: %-18s %s\n", $[1], $[2], $[3]
  1466.        if ($[4]) printf "      %s\n", $[4] } '
  1467.   exit 0
  1468. fi
  1469. m4_divert_pop([HELP_END])dnl
  1470. m4_divert_push([PREPARE_TESTS])dnl
  1471.  
  1472. # Don't take risks: use only absolute directories in PATH.
  1473. #
  1474. # For stand-alone test suites, AUTOTEST_PATH is relative to `.'.
  1475. #
  1476. # For embedded test suites, AUTOTEST_PATH is relative to the top level
  1477. # of the package.  Then expand it into build/src parts, since users
  1478. # may create executables in both places.
  1479. #
  1480. # There might be directories that don't exist, but don't redirect
  1481. # builtins' (eg., cd) stderr directly: Ultrix's sh hates that.
  1482. AUTOTEST_PATH=`echo $AUTOTEST_PATH | tr ':' $PATH_SEPARATOR`
  1483. at_path=
  1484. _AS_PATH_WALK([$AUTOTEST_PATH $PATH],
  1485. [case $as_dir in
  1486.   [[\\/]]* | ?:[[\\/]]* )
  1487.     at_path=$at_path$PATH_SEPARATOR$as_dir
  1488.     ;;
  1489.   * )
  1490.     if test -z "$at_top_builddir"; then
  1491.       # Stand-alone test suite.
  1492.       at_path=$at_path$PATH_SEPARATOR$as_dir
  1493.     else
  1494.       # Embedded test suite.
  1495.       at_path=$at_path$PATH_SEPARATOR$at_top_builddir/$as_dir
  1496.       at_path=$at_path$PATH_SEPARATOR$at_top_srcdir/$as_dir
  1497.     fi
  1498.     ;;
  1499. esac])
  1500.  
  1501. # Now build and simplify PATH.
  1502. PATH=
  1503. _AS_PATH_WALK([$at_path],
  1504. [as_dir=`(cd "$as_dir" && pwd) 2>/dev/null`
  1505. test -d "$as_dir" || continue
  1506. case $PATH in
  1507.               $as_dir                 | \
  1508.               $as_dir$PATH_SEPARATOR* | \
  1509.   *$PATH_SEPARATOR$as_dir                 | \
  1510.   *$PATH_SEPARATOR$as_dir$PATH_SEPARATOR* ) ;;
  1511.  
  1512.   '') PATH=$as_dir ;;
  1513.    *) PATH=$PATH$PATH_SEPARATOR$as_dir ;;
  1514. esac])
  1515. export PATH
  1516.  
  1517. # Setting up the FDs.
  1518. # 5 is the log file.  Not to be overwritten if `-d'.
  1519. m4_define([AS_MESSAGE_LOG_FD], [5])
  1520. $at_debug_p && at_suite_log=/dev/null
  1521. exec AS_MESSAGE_LOG_FD>$at_suite_log
  1522.  
  1523. # Banners and logs.
  1524. AS_BOX(m4_defn([AT_TESTSUITE_NAME])[.])
  1525. {
  1526.   AS_BOX(m4_defn([AT_TESTSUITE_NAME])[.])
  1527.   echo
  1528.  
  1529.   echo "$as_me: command line was:"
  1530.   echo "  $ $[0] $at_cli_args"
  1531.   echo
  1532.  
  1533.   # Try to find a few ChangeLogs in case it might help determining the
  1534.   # exact version.  Use the relative dir: if the top dir is a symlink,
  1535.   # find will not follow it (and options to follow the links are not
  1536.   # portable), which would result in no output here.
  1537.   if test -n "$at_top_srcdir"; then
  1538.     AS_BOX([ChangeLogs.])
  1539.     echo
  1540.     for at_file in `find "$at_top_srcdir" -name ChangeLog -print`
  1541.     do
  1542.       echo "$as_me: $at_file:"
  1543.       sed 's/^/| /;10q' $at_file
  1544.       echo
  1545.     done
  1546.  
  1547.     AS_UNAME
  1548.     echo
  1549.   fi
  1550.  
  1551.   # Contents of the config files.
  1552.   for at_file in atconfig atlocal
  1553.   do
  1554.     test -r $at_file || continue
  1555.     echo "$as_me: $at_file:"
  1556.     sed 's/^/| /' $at_file
  1557.     echo
  1558.   done
  1559.  
  1560.   AS_BOX([Tested programs.])
  1561.   echo
  1562. } >&AS_MESSAGE_LOG_FD
  1563.  
  1564. # Report what programs are being tested.
  1565. for at_program in : $at_tested
  1566. do
  1567.   test "$at_program" = : && continue
  1568.   _AS_PATH_WALK([$PATH], [test -f $as_dir/$at_program && break])
  1569.   if test -f $as_dir/$at_program; then
  1570.     {
  1571.       echo "AT_LINE: $as_dir/$at_program --version"
  1572.       $as_dir/$at_program --version
  1573.       echo
  1574.     } >&AS_MESSAGE_LOG_FD 2>&1
  1575.   else
  1576.     AS_ERROR([cannot find $at_program])
  1577.   fi
  1578. done
  1579.  
  1580. {
  1581.   AS_BOX([Running the tests.])
  1582. } >&AS_MESSAGE_LOG_FD
  1583.  
  1584. at_start_date=`date`
  1585. at_start_time=`(date +%s) 2>/dev/null`
  1586. echo "$as_me: starting at: $at_start_date" >&AS_MESSAGE_LOG_FD
  1587. at_xpass_list=
  1588. at_xfail_list=
  1589. at_pass_list=
  1590. at_fail_list=
  1591. at_skip_list=
  1592. at_group_count=0
  1593. m4_divert_pop([PREPARE_TESTS])dnl
  1594. m4_divert_push([TESTS])dnl
  1595.  
  1596. # Create the master directory if it doesn't already exist.
  1597. test -d $at_suite_dir ||
  1598.   mkdir $at_suite_dir ||
  1599.   AS_ERROR([cannot create $at_suite_dir])
  1600.  
  1601. # Can we diff with `/dev/null'?  DU 5.0 refuses.
  1602. if diff /dev/null /dev/null >/dev/null 2>&1; then
  1603.   at_devnull=/dev/null
  1604. else
  1605.   at_devnull=$at_suite_dir/devnull
  1606.   cp /dev/null $at_devnull
  1607. fi
  1608.  
  1609. # Use `diff -u' when possible.
  1610. if diff -u $at_devnull $at_devnull >/dev/null 2>&1; then
  1611.   at_diff='diff -u'
  1612. else
  1613.   at_diff=diff
  1614. fi
  1615.  
  1616.  
  1617. for at_group in $at_groups
  1618. do
  1619.   # Be sure to come back to the top test directory.
  1620.   cd $at_suite_dir
  1621.  
  1622.   case $at_group in
  1623.     banner-*)
  1624.       at_group_log=$at_suite_log
  1625.       ;;
  1626.  
  1627.     *)
  1628.       # Skip tests we already run (using --keywords makes it easy to get
  1629.       # duplication).
  1630.       case " $at_pass_test $at_skip_test $at_fail_test " in
  1631.     *" $at_group "* ) continue;;
  1632.       esac
  1633.  
  1634.       # Normalize the test group number.
  1635.       at_group_normalized=`expr "00000$at_group" : ".*\($at_format\)"`
  1636.  
  1637.       # Create a fresh directory for the next test group, and enter.
  1638.       at_group_dir=$at_suite_dir/$at_group_normalized
  1639.       at_group_log=$at_group_dir/$as_me.log
  1640.       rm -rf $at_group_dir
  1641.       mkdir $at_group_dir ||
  1642.     AS_ERROR([cannot create $at_group_dir])
  1643.       cd $at_group_dir
  1644.       ;;
  1645.   esac
  1646.  
  1647.   echo 0 > $at_status_file
  1648.  
  1649.   # Clearly separate the test groups when verbose.
  1650.   test $at_group_count != 0 && $at_verbose
  1651.  
  1652.   # In verbose mode, append to the log file *and* show on
  1653.   # the standard output; in quiet mode only write to the log
  1654.   if test $at_verbose = echo; then
  1655.     at_tee_pipe="tee -a $at_group_log"
  1656.   else
  1657.     at_tee_pipe="cat >> $at_group_log"
  1658.   fi
  1659.  
  1660.   case $at_group in
  1661. dnl Test groups inserted here (TESTS).
  1662. m4_divert_pop([TESTS])[]dnl
  1663. m4_divert_push([TESTS_END])[]dnl
  1664.  
  1665.   * )
  1666.     echo "$as_me: no such test group: $at_group" >&2
  1667.     continue
  1668.     ;;
  1669.   esac
  1670.  
  1671.   # Be sure to come back to the suite directory, in particular
  1672.   # since below we might `rm' the group directory we are in currently.
  1673.   cd $at_suite_dir
  1674.  
  1675.   case $at_group in
  1676.     banner-*) ;;
  1677.     *)
  1678.       if test ! -f $at_check_line_file; then
  1679.     sed "s/^ */$as_me: warning: /" <<_ATEOF
  1680.     A failure happened in a test group before any test could be
  1681.     run. This means that test suite is improperly designed.  Please
  1682.     report this failure to <AT_PACKAGE_BUGREPORT>.
  1683. _ATEOF
  1684.         echo "$at_setup_line" >$at_check_line_file
  1685.       fi
  1686.       at_group_count=`expr 1 + $at_group_count`
  1687.       $at_verbose $ECHO_N "$at_group. $at_setup_line: $ECHO_C"
  1688.       echo $ECHO_N "$at_group. $at_setup_line: $ECHO_C" >> $at_group_log
  1689.       case $at_xfail:$at_status in
  1690.     yes:0)
  1691.         at_msg="UNEXPECTED PASS"
  1692.         at_xpass_list="$at_xpass_list $at_group"
  1693.         at_errexit=$at_errexit_p
  1694.         ;;
  1695.     no:0)
  1696.         at_msg="ok"
  1697.         at_pass_list="$at_pass_list $at_group"
  1698.         at_errexit=false
  1699.         ;;
  1700.     *:77)
  1701.         at_msg="skipped (`cat $at_check_line_file`)"
  1702.         at_skip_list="$at_skip_list $at_group"
  1703.         at_errexit=false
  1704.         ;;
  1705.     yes:*)
  1706.         at_msg="expected failure (`cat $at_check_line_file`)"
  1707.         at_xfail_list="$at_xfail_list $at_group"
  1708.         at_errexit=false
  1709.         ;;
  1710.     no:*)
  1711.         at_msg="FAILED (`cat $at_check_line_file`)"
  1712.         at_fail_list="$at_fail_list $at_group"
  1713.         at_errexit=$at_errexit_p
  1714.         ;;
  1715.       esac
  1716.       echo $at_msg
  1717.       at_log_msg="$at_group. $at_desc ($at_setup_line): $at_msg"
  1718.       case $at_status in
  1719.     0|77)
  1720.       # $at_times_file is only available if the group succeeded.
  1721.       # We're not including the group log, so the success message
  1722.       # is written in the global log separately.  But we also
  1723.       # write to the group log in case they're using -d.
  1724.       if test -f $at_times_file; then
  1725.         at_log_msg="$at_log_msg    (`sed 1d $at_times_file`)"
  1726.         rm -f $at_times_file
  1727.           fi
  1728.       echo "$at_log_msg" >> $at_group_log
  1729.       echo "$at_log_msg" >&AS_MESSAGE_LOG_FD
  1730.  
  1731.       # Cleanup the group directory, unless the user wants the files.
  1732.       $at_debug_p || rm -rf $at_group_dir
  1733.       ;;
  1734.     *)
  1735.       # Upon failure, include the log into the testsuite's global
  1736.       # log.  The failure message is written in the group log.  It
  1737.       # is later included in the global log.
  1738.       echo "$at_log_msg" >> $at_group_log
  1739.  
  1740.       # Upon failure, keep the group directory for autopsy, and
  1741.       # create the debugging script.
  1742.       {
  1743.         echo "#! /bin/sh"
  1744.         echo 'test "${ZSH_VERSION+set}" = set && alias -g '\''${1+"$[@]"}'\''='\''"$[@]"'\'''
  1745.         echo "cd $at_dir"
  1746.         echo 'exec ${CONFIG_SHELL-'"$SHELL"'}' "$[0]" \
  1747.              '-v -d' "$at_debug_args" "$at_group" '${1+"$[@]"}'
  1748.         echo 'exit 1'
  1749.       } >$at_group_dir/run
  1750.       chmod +x $at_group_dir/run
  1751.       $at_errexit && break
  1752.       ;;
  1753.       esac
  1754.       ;;
  1755.   esac
  1756. done
  1757.  
  1758. # Back to the top directory.
  1759. cd $at_dir
  1760.  
  1761. # Compute the duration of the suite.
  1762. at_stop_date=`date`
  1763. at_stop_time=`(date +%s) 2>/dev/null`
  1764. echo "$as_me: ending at: $at_stop_date" >&AS_MESSAGE_LOG_FD
  1765. at_duration_s=`(expr $at_stop_time - $at_start_time) 2>/dev/null`
  1766. at_duration_m=`(expr $at_duration_s / 60) 2>/dev/null`
  1767. at_duration_h=`(expr $at_duration_m / 60) 2>/dev/null`
  1768. at_duration_s=`(expr $at_duration_s % 60) 2>/dev/null`
  1769. at_duration_m=`(expr $at_duration_m % 60) 2>/dev/null`
  1770. at_duration="${at_duration_h}h ${at_duration_m}m ${at_duration_s}s"
  1771. if test "$at_duration" != "h m s"; then
  1772.   echo "$as_me: test suite duration: $at_duration" >&AS_MESSAGE_LOG_FD
  1773. fi
  1774.  
  1775. # Wrap up the test suite with summary statistics.
  1776. at_skip_count=`set dummy $at_skip_list; shift; echo $[@%:@]`
  1777. at_fail_count=`set dummy $at_fail_list; shift; echo $[@%:@]`
  1778. at_xpass_count=`set dummy $at_xpass_list; shift; echo $[@%:@]`
  1779. at_xfail_count=`set dummy $at_xfail_list; shift; echo $[@%:@]`
  1780.  
  1781. at_run_count=`expr $at_group_count - $at_skip_count`
  1782. at_unexpected_count=`expr $at_xpass_count + $at_fail_count`
  1783. at_total_fail_count=`expr $at_xfail_count + $at_fail_count`
  1784.  
  1785. echo
  1786. AS_BOX([Test results.])
  1787. echo
  1788. {
  1789.   echo
  1790.   AS_BOX([Test results.])
  1791.   echo
  1792. } >&AS_MESSAGE_LOG_FD
  1793.  
  1794. dnl
  1795. dnl FIXME: this code is as far from i18n-cleanness as man
  1796. dnl could imagine...
  1797. dnl
  1798. if test $at_run_count = 1; then
  1799.   at_result="1 test"
  1800.   at_were=was
  1801. else
  1802.   at_result="$at_run_count tests"
  1803.   at_were=were
  1804. fi
  1805. if $at_errexit_p && test $at_unexpected_count != 0; then
  1806.   if test $at_xpass_count = 1; then
  1807.     at_result="$at_result $at_were run, one passed"
  1808.   else
  1809.     at_result="$at_result $at_were run, one failed"
  1810.   fi
  1811.   at_result="$at_result unexpectedly and inhibited subsequent tests."
  1812. else
  1813.   # Don't you just love exponential explosion of the number of cases?
  1814.   case $at_xpass_count:$at_fail_count:$at_xfail_count in
  1815.     # So far, so good.
  1816.     0:0:0) at_result="$at_result $at_were successful." ;;
  1817.     0:0:*) at_result="$at_result behaved as expected." ;;
  1818.  
  1819.     # Some unexpected failures
  1820.     0:*:0) at_result="$at_result $at_were run,
  1821. $at_fail_count failed unexpectedly." ;;
  1822.  
  1823.     # Some failures, both expected and unexpected
  1824.     0:*:1) at_result="$at_result $at_were run,
  1825. $at_total_fail_count failed ($at_xfail_count expected failure)." ;;
  1826.     0:*:*) at_result="$at_result $at_were run,
  1827. $at_total_fail_count failed ($at_xfail_count expected failures)." ;;
  1828.  
  1829.     # No unexpected failures, but some xpasses
  1830.     *:0:*) at_result="$at_result $at_were run,
  1831. $at_xpass_count passed unexpectedly." ;;
  1832.  
  1833.     # No expected failures, but failures and xpasses
  1834.     *:1:0) at_result="$at_result $at_were run,
  1835. $at_unexpected_count did not behave as expected ($at_fail_count unexpected failure)." ;;
  1836.     *:*:0) at_result="$at_result $at_were run,
  1837. $at_unexpected_count did not behave as expected ($at_fail_count unexpected failures)." ;;
  1838.  
  1839.     # All of them.
  1840.     *:*:1) at_result="$at_result $at_were run,
  1841. $at_xpass_count passed unexpectedly,
  1842. $at_total_fail_count failed ($at_xfail_count expected failure)." ;;
  1843.     *:*:*) at_result="$at_result $at_were run,
  1844. $at_xpass_count passed unexpectedly,
  1845. $at_total_fail_count failed ($at_xfail_count expected failures)." ;;
  1846.   esac
  1847.  
  1848.   if test $at_skip_count = 0 && test $at_run_count -gt 1; then
  1849.     at_result="All $at_result"
  1850.   fi
  1851. fi
  1852.  
  1853. # Now put skips in the mix.
  1854. case $at_skip_count in
  1855.   0) ;;
  1856.   1) at_result="$at_result
  1857. 1 test was skipped." ;;
  1858.   *) at_result="$at_result
  1859. $at_skip_count tests were skipped." ;;
  1860. esac
  1861.  
  1862. if test $at_unexpected_count = 0; then
  1863.   echo "$at_result"
  1864.   echo "$at_result" >&AS_MESSAGE_LOG_FD
  1865. else
  1866.   echo "ERROR: $at_result" >&2
  1867.   echo "ERROR: $at_result" >&AS_MESSAGE_LOG_FD
  1868.   {
  1869.     echo
  1870.     AS_BOX([Summary of the failures.])
  1871.  
  1872.     # Summary of failed and skipped tests.
  1873.     if test $at_fail_count != 0; then
  1874.       echo "Failed tests:"
  1875.       $SHELL $[0] $at_fail_list --list
  1876.       echo
  1877.     fi
  1878.     if test $at_skip_count != 0; then
  1879.       echo "Skipped tests:"
  1880.       $SHELL $[0] $at_skip_list --list
  1881.       echo
  1882.     fi
  1883.     if test $at_xpass_count != 0; then
  1884.       echo "Unexpected passes:"
  1885.       $SHELL $[0] $at_xpass_list --list
  1886.       echo
  1887.     fi
  1888.     if test $at_fail_count != 0; then
  1889.       AS_BOX([Detailed failed tests.])
  1890.       echo
  1891.       for at_group in $at_fail_list
  1892.       do
  1893.         # Normalize the test group number.
  1894.         at_group_normalized=`expr "00000$at_group" : ".*\($at_format\)"`
  1895.         # Create a fresh directory for the next test group, and enter.
  1896.         at_group_dir=$at_suite_dir/$at_group_normalized
  1897.         at_group_log=$at_group_dir/$as_me.log
  1898.         cat $at_group_log
  1899.         echo
  1900.       done
  1901.       echo
  1902.     fi
  1903.     if test -n "$at_top_srcdir"; then
  1904.       AS_BOX([$at_top_builddir/config.log])
  1905.       sed 's/^/| /' $at_top_builddir/config.log
  1906.       echo
  1907.     fi
  1908.   } >&AS_MESSAGE_LOG_FD
  1909.  
  1910.   AS_BOX([$as_me.log was created.])
  1911.  
  1912.   echo
  1913.   echo "Please send \`$as_me.log' and all information you think might help:"
  1914.   echo
  1915.   echo "   To: <AT_PACKAGE_BUGREPORT>"
  1916.   echo "   Subject: @<:@AT_PACKAGE_STRING@:>@ $as_me:dnl
  1917. $at_fail_list${at_fail_list:+ failed${at_xpass_list:+,}}dnl
  1918. $at_xpass_list${at_xpass_list:+ passed unexpectedly}"
  1919.   echo
  1920.   if test $at_debug_p = false; then
  1921.     echo
  1922.     echo 'You may investigate any problem if you feel able to do so, in which'
  1923.     echo 'case the test suite provides a good starting point.'
  1924.     echo
  1925.   fi
  1926.     exit 1
  1927. fi
  1928.  
  1929. exit 0
  1930. m4_divert_pop([TESTS_END])dnl
  1931. dnl End of AT_INIT: divert to KILL, only test groups are to be
  1932. dnl output, the rest is ignored.  Current diversion is BODY, inherited
  1933. dnl from M4sh.
  1934. m4_divert_push([KILL])
  1935. m4_wrap([m4_divert_pop([KILL])[]])
  1936.  
  1937. T16,188
  1938. _AS_LINENO_WORKS
  1939.   as_lineno_1=$LINENO
  1940.   as_lineno_2=$LINENO
  1941.   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  1942.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  1943.   test "x$as_lineno_3"  = "x$as_lineno_2" dnl
  1944.  
  1945. T28,85
  1946. m4_location(AS_DIRNAME_EXPR)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:441
  1947. T27,85
  1948. m4_location(_AS_CR_PREPARE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:948
  1949. T11,40
  1950. AT_KEYWORDSm4_append_uniq([AT_keywords], [$1], [ ])
  1951. T9,84
  1952. AS_ESCAPEm4_bpatsubst([$1],
  1953.          m4_ifval([$2], [[\([$2]\)]], [[\([\"$`]\)]]),
  1954.          [\\\1])
  1955. T7,30
  1956. m4_copym4_define([$2], m4_defn([$1]))
  1957. T15,125
  1958. AS_EXECUTABLE_P_m4_defun_pro([AS_EXECUTABLE_P])AS_REQUIRE([_AS_TEST_PREPARE])dnl
  1959. $as_executable_p $1[]dnl
  1960. []_m4_defun_epi([AS_EXECUTABLE_P])
  1961. T9,4
  1962. m4_dquote[$@]
  1963. T8,517
  1964. AT_SETUPm4_ifdef([AT_keywords], [m4_undefine([AT_keywords])])
  1965. m4_define([AT_line], AT_LINE)
  1966. m4_define([AT_xfail], [at_xfail=no])
  1967. m4_define([AT_description], [$1])
  1968. m4_define([AT_ordinal], m4_incr(AT_ordinal))
  1969. m4_append([AT_groups_all], [ ]m4_defn([AT_ordinal]))
  1970. m4_divert_push([TESTS])dnl
  1971.   AT_ordinal ) @%:@ AT_ordinal. m4_defn([AT_line]): $1
  1972.     at_setup_line='m4_defn([AT_line])'
  1973.     at_desc='$1'
  1974.     $at_quiet $ECHO_N "m4_format([[%3d: %-45s]],
  1975.                    AT_ordinal, [$1])[]$ECHO_C"
  1976. m4_divert_push([TEST_SCRIPT])dnl
  1977.  
  1978. T10,69
  1979. m4_toupperm4_translit([$1], m4_defn([m4_cr_letters]), m4_defn([m4_cr_LETTERS]))
  1980. T10,99
  1981. _m4_shiftnm4_if([$1], 0,
  1982.        [m4_shift($@)],
  1983.        [_m4_shiftn(m4_eval([$1]-1), m4_shift(m4_shift($@)))])
  1984. T18,243
  1985. _AS_TR_CPP_PREPARE_m4_defun_pro([_AS_TR_CPP_PREPARE])AS_REQUIRE([_AS_CR_PREPARE])dnl
  1986. # Sed expression to map a string onto a valid CPP name.
  1987. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[[^_$as_cr_alnum]]%_%g'"
  1988. []_m4_defun_epi([_AS_TR_CPP_PREPARE])
  1989. F7,6
  1990. m4_exitm4exit
  1991. T17,117
  1992. m4_include_uniquem4_ifdef([m4_include($1)],
  1993.       [m4_warn([syntax], [file `$1' included several times])])dnl
  1994. m4_define([m4_include($1)])
  1995. T16,4
  1996. _m4_divert(BODY)1000
  1997. T23,107
  1998. m4_expansion_stack_pushm4_pushdef([m4_expansion_stack],
  1999.         [$1]m4_ifdef([m4_expansion_stack], [
  2000. m4_defn([m4_expansion_stack])]))
  2001. T23,3
  2002. _m4_divert(HELP_TUNING)302
  2003. T12,44
  2004. m4_re_escapem4_bpatsubst([$1],
  2005.           [[][+*.]], [\\\&])
  2006. T9,278
  2007. AS_TR_CPP_m4_defun_pro([AS_TR_CPP])AS_REQUIRE([_$0_PREPARE])dnl
  2008. AS_LITERAL_IF([$1],
  2009.           [m4_bpatsubst(m4_translit([[$1]],
  2010.                     [*abcdefghijklmnopqrstuvwxyz],
  2011.                     [PABCDEFGHIJKLMNOPQRSTUVWXYZ]),
  2012.                [[^A-Z0-9_]], [_])],
  2013.           [`echo "$1" | $as_tr_cpp`])[]_m4_defun_epi([AS_TR_CPP])
  2014. T9,51
  2015. m4_shiftnm4_assert(($1 >= 0) && ($# > $1))dnl
  2016. _m4_shiftn($@)
  2017. T8,56
  2018. AS_ERROR{ AS_MESSAGE([error: $1], [2])
  2019.    AS_EXIT([$2]); }[]dnl
  2020.  
  2021. F10,7
  2022. m4_dumpdefdumpdef
  2023. T8,101
  2024. m4_stripm4_bpatsubsts([[$1]],
  2025.            [[     ]+], [ ],
  2026.            [^\(..\) ],    [\1],
  2027.            [ \(..\)$],    [\1])
  2028. T22,3
  2029. _m4_divert(HELP_OTHER)303
  2030. T22,3
  2031. _m4_divert(HELP_MODES)301
  2032. T8,42
  2033. AT_CHECK_AT_CHECK([$1],[$2],[$3],[$4],[$5],[$6],1)
  2034. T13,241
  2035. m4_bpatsubstsm4_if([$#], 0, [m4_fatal([$0: too few arguments: $#])],
  2036.        [$#], 1, [m4_fatal([$0: too few arguments: $#: $1])],
  2037.        [$#], 2, [m4_builtin([patsubst], $@)],
  2038.        [$0(m4_builtin([patsubst], [[$1]], [$2], [$3]),
  2039.        m4_shiftn(3, $@))])
  2040. T13,254
  2041. _AS_PATH_WALKAS_REQUIRE([_AS_PATH_SEPARATOR_PREPARE])dnl
  2042. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2043. m4_bmatch([$1], [[:;]],
  2044. [as_dummy="$1"
  2045. for as_dir in $as_dummy],
  2046. [for as_dir in m4_default([$1], [$PATH])])
  2047. do
  2048.   IFS=$as_save_IFS
  2049.   test -z "$as_dir" && as_dir=.
  2050.   $2
  2051. done
  2052.  
  2053. T15,12
  2054. m4_PACKAGE_NAMEGNU Autoconf
  2055. T13,212
  2056. _m4_defun_epim4_divert_pop()dnl
  2057. m4_if(_m4_divert_dump, _m4_divert_diversion,
  2058.       [m4_undivert([GROW])dnl
  2059. m4_undefine([_m4_divert_dump])])dnl
  2060. m4_expansion_stack_pop()dnl
  2061. m4_popdef([_m4_expanding($1)])dnl
  2062. m4_provide([$1])dnl
  2063.  
  2064. T22,3
  2065. _m4_divert(PARSE_ARGS)201
  2066. T13,42
  2067. AS_VAR_SET_IFAS_IF([AS_VAR_TEST_SET([$1])], [$2], [$3])
  2068. T15,126
  2069. _m4_dumpdefs_upm4_ifdef([$1],
  2070.       [m4_pushdef([_m4_dumpdefs], m4_defn([$1]))dnl
  2071. m4_dumpdef([$1])dnl
  2072. m4_popdef([$1])dnl
  2073. _m4_dumpdefs_up([$1])])
  2074. T39,85
  2075. m4_location(_AS_PATH_SEPARATOR_PREPARE)/var/tmp/portage/autoconf-2.59-r7/work/autoconf-2.59/tests/../lib/m4sugar/m4sh.m4:650
  2076. T14,254
  2077. AS_DIRNAME_SED_m4_defun_pro([AS_DIRNAME_SED])echo X[]$1 |
  2078.     sed ['/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  2079.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  2080.         /^X\(\/\/\)$/{ s//\1/; q; }
  2081.         /^X\(\/\).*/{ s//\1/; q; }
  2082.         s/.*/./; q'][]_m4_defun_epi([AS_DIRNAME_SED])
  2083. D-1,0
  2084.  
  2085. # End of frozen state file
  2086.